﻿using System;
using System.Collections.Generic;
using System.Text;
using XBLib.Dal.AdoDal;
using KenLib.BusinessObject;
using System.Data.Common;
using System.Data;

namespace KenLib.Dal
{
   public class frmO_AppCompBasicInfoRefDao:BaseAdoDao
    {
       public List<frmO_AppCompBasicInfoRefObject> SelectComInfoById(int Comid)
       {
           DbParameter id = _daoHelper.CreateParameter("@Comid", Comid, DbType.Int32);
           DbCommand command = _daoHelper.CreateCommand("usp_SelectComInfoById_Luclt", CommandType.StoredProcedure, id);
           return _businessObjectHelper.FillToList<frmO_AppCompBasicInfoRefObject>(_daoHelper.Query(command));
       }
       public DataTable get拠点名_frmO_AppCompBasicInfoRef(int 企業ID)
       {
           DbParameter param = _daoHelper.CreateParameter("@企業ID", 企業ID, DbType.Int32);
           DbCommand command = _daoHelper.CreateCommand("frmO_AppCompBasicInfoRef_luclt", CommandType.StoredProcedure, param);
           return _daoHelper.Query(command);
       }

    }
}
